package com.example.project.service;

import java.io.IOException;
import java.util.List;

import com.example.project.vo.model.FileVo;
import com.github.pagehelper.PageInfo;
import com.example.project.entity.File;
import com.example.project.vo.model.PageDto;

import javax.servlet.http.HttpServletResponse;

/**
 * (File)表服务接口
 */
public interface FileService {



    void upload(FileVo fileVo);

    void downPressOne(Long id, Integer type, HttpServletResponse response);

    void downOne(String path, HttpServletResponse response) throws IOException;

    List<File> getFiles(int i, Long id);
}
